﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Acando.Dynamics.CRM.Silverlight.Library.Interfaces;
using Acando.Dynamics.CRM.Silverlight.Library.Controls.FieldControls;
using Acando.Dynamics.CRM.Silverlight.Library.CrmSdk;

namespace Acando.Dynamics.CRM.Silverlight.Library.Helper
{
    public class RecordControlWrapper : IRecordControl, IProviedMetaDataLayer
    {
        public RecordControlWrapper()
        {
            this.RegisteredPicklists = new System.Collections.Generic.Dictionary<string, CrmPicklistControl>();
        }
        public BusinessEntity Entity { get; set; }
        public String Organame { get; set; }
        public DataGrid Grid { get; set; }
        public IMetaDataLayer Metadatalayer { get;  set; }

        public bool IsReadOnly
        {
            get;
            set;
        }

        public System.Collections.Generic.Dictionary<string, CrmPicklistControl> RegisteredPicklists
        {
            get;
            private set;
        }


    }
}
